package com.fand.acceptControl.service;

import java.util.List;

import com.fand.acceptControl.dto.NavigationDto;
import com.fand.cache.support.CacheEvictSupport;

/**
 * 导航服务
 * 
 * @author yaoHT
 */
public interface NavigationService extends CacheEvictSupport {
	String BEAN_ID = "com.fand.acceptControl.service.NavigationService";
	
	String CACHE_NAME = NavigationService.BEAN_ID + "Cache";
	
	/**
	 * 保存:导航
	 * 
	 * @param navigation
	 *            导航对象
	 * @return 导航标识
	 */
	String saveNavigationBy1ForObject(NavigationDto navigation);
	
	/**
	 * 查询:导航
	 * 
	 * @param selectNavigationBy
	 *            TODO
	 * @return 导航
	 */
	List<NavigationDto> selectNavigationBy2ForMappedObjectList(NavigationDto selectNavigationBy);
	
	/**
	 * 查询：导航
	 * 
	 * @param selectNavigationBy
	 *            导航对象
	 * @param treeDepthNum
	 *            树型深度数量
	 * @return 导航
	 */
	List<NavigationDto> selectNavigationBy3ForMappedObjectList(NavigationDto selectNavigationBy, int treeDepthNum);
}